/*
 Navicat MySQL Data Transfer

 Source Server         : xyz
 Source Server Type    : MySQL
 Source Server Version : 50626
 Source Host           : localhost:3306
 Source Schema         : test

 Target Server Type    : MySQL
 Target Server Version : 50626
 File Encoding         : 65001

 Date: 11/11/2020 15:31:47
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for product
-- ----------------------------
DROP TABLE IF EXISTS `product`;
CREATE TABLE `product` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(100) DEFAULT NULL,
  `price` float(10,2) DEFAULT NULL,
  `image` varchar(255) DEFAULT NULL,
  `description` text,
  `manufacturer` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4;

-- ----------------------------
-- Records of product
-- ----------------------------
BEGIN;
INSERT INTO `product` VALUES (1, 'matepro40', 8888.00, 'mate40.png', 'mate40的描述', 1);
INSERT INTO `product` VALUES (2, 'iphone11', 9999.00, 'iphone11.png', 'iphone11的描述', 2);
INSERT INTO `product` VALUES (3, 'vivo2020', 7777.00, 'vovo.png', 'vivo的手机描述', 3);
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
